package com.bdzl.admin.service.data;

import com.bdzl.pub.entity.data.EnterpriseDO;
import com.bdzl.pub.util.param.R;
import com.bdzl.pub.vo.EnterpriseVO;

import java.util.List;
import java.util.Map;

/**
 * 企业基础信息表
 * 
 * @author yangyicai
 * @email yangyicai@foxmail.com
 * @date 2021-03-23 13:57:43
 */
public interface EnterpriseService {
	
	EnterpriseDO get(Integer entId);
	
	List<EnterpriseDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(EnterpriseDO enterprise);
	
	int update(EnterpriseDO enterprise);
	
	int remove(Integer entId);
	
	int batchRemove(Integer[] entIds);

	/**
	 * 获取企业信息 和 股东信息
	 */
	List<EnterpriseVO> enterpriseAndHolder(Map map);
	int enterpriseAndHoldercount(Map map);

	R updateEnterpriseAndHolder(EnterpriseVO enterpriseVO ,Integer userId);
}
